package com.tengju.user.application.login.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "LoginOutDTO", description = "退出登陆请求参数对象")
public class LogoutDTO {

    @ApiModelProperty("用户id/员工id")
    @NotNull(message = "用户id/员工id不能为空")
    private String userId;

    @ApiModelProperty("用户类型 1：用户 2：员工")
    @NotNull(message = "用户类型不能为空")
    private Integer userType;

}
